package com.jieshuibao.common.res;

public class BaseRes<T> {
	public  final static String SUCCESS_CODE = "1";     //成功
	public  final static String FAIL_CODE = "0";        //失败
	public  final static String RELOGIN_CODE = "2";     //未登录
	public final static String ERRORPARAM_CODE = "3";     //参数不正确
	public final static String NOVIP_CODE = "4";     //不是会员
	public final static String ADVISORYNUM_CODE = "5";    //咨询次数已经使用完
	public  final static String SUCCESS_DES = "请求成功";     //成功
	public  final static String FAIL_DES = "系统繁忙";        //失败
	public  final static String RELOGIN_DES = "重新登录";     //未登录
	public  final static String ERRORPARAM_DES = "请求参数错误";     //参数不正确
	
	private String code;
	private String des;
	private T data;
	
	private int sinceId;
	
	private int rows;
	
	private int maxId;
	
	private double amount;
	
	
	public int getSinceId() {
		return sinceId;
	}
	public void setSinceId(int sinceId) {
		this.sinceId = sinceId;
	}
	public int getRows() {
		return rows;
	}
	public void setRows(int rows) {
		this.rows = rows;
	}
	public int getMaxId() {
		return maxId;
	}
	public void setMaxId(int maxId) {
		this.maxId = maxId;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getDes() {
		return des;
	}
	public void setDes(String des) {
		this.des = des;
	}
	public T getData() {
		return data;
	}
	public void setData(T data) {
		this.data = data;
	}
	public double getAmount() {
		return amount;
	}
	public void setAmount(double amount) {
		this.amount = amount;
	}
	
}
